/**
 * 
 */
package segmentation.border_follow;

import util.ImageCursor;
import image.Image;

/**
 * @author nquangtrung
 *
 */
public abstract class EdgeFollower {

	int[] direction = {ImageCursor.UP, ImageCursor.RIGHT, ImageCursor.DOWN, ImageCursor.LEFT};
	
	protected Image image;
	/**
	 * 
	 */
	public EdgeFollower(Image image) {
		this.setImage(image);
	}
	
	public abstract int[][] follow();
	
	/**
	 * @return the image
	 */
	public Image getImage() {
		return image;
	}
	/**
	 * @param image the image to set
	 */
	public void setImage(Image image) {
		this.image = image;
	}

}
